<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-consumeID" class="control-label col-xs-12 col-sm-2">{:__('Consumeid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consumeID" data-rule="required" class="form-control" name="row[consumeID]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label for="c-userID" class="control-label col-xs-12 col-sm-2">{:__('Userid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-userID" data-rule="required" class="form-control" name="row[userID]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label for="c-cardID" class="control-label col-xs-12 col-sm-2">{:__('Cardid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cardID" data-rule="required" class="form-control" name="row[cardID]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label for="c-time" class="control-label col-xs-12 col-sm-2">{:__('Time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" class="form-control" name="row[status]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label for="c-id" class="control-label col-xs-12 col-sm-2">{:__('Id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id" class="form-control" name="row[id]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-audit_time" class="control-label col-xs-12 col-sm-2">{:__('Audit_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-audit_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[audit_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-note" class="control-label col-xs-12 col-sm-2">{:__('Note')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-note" class="form-control" name="row[note]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-serial_number" class="control-label col-xs-12 col-sm-2">{:__('Serial_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-serial_number" class="form-control" name="row[serial_number]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-pay_status" class="control-label col-xs-12 col-sm-2">{:__('Pay_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_status" class="form-control" name="row[pay_status]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label for="c-pay_time" class="control-label col-xs-12 col-sm-2">{:__('Pay_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[pay_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-pay_way" class="control-label col-xs-12 col-sm-2">{:__('Pay_way')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_way" class="form-control" name="row[pay_way]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-mc_id" class="control-label col-xs-12 col-sm-2">{:__('Mc_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mc_id" data-rule="required" data-source="mc/index" class="form-control selectpage" name="row[mc_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-transaction_number" class="control-label col-xs-12 col-sm-2">{:__('Transaction_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transaction_number" class="form-control" name="row[transaction_number]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-rake_price" class="control-label col-xs-12 col-sm-2">{:__('Rake_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-rake_price" data-rule="required" class="form-control" name="row[rake_price]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-type" class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-type" data-rule="required" class="form-control" name="row[type]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label for="c-bank_tradeno" class="control-label col-xs-12 col-sm-2">{:__('Bank_tradeno')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_tradeno" data-rule="required" class="form-control" name="row[bank_tradeno]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-pay_account_id" class="control-label col-xs-12 col-sm-2">{:__('Pay_account_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_account_id" data-rule="required" data-source="pay/account/index" class="form-control selectpage" name="row[pay_account_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-finance_status" class="control-label col-xs-12 col-sm-2">{:__('Finance_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-finance_status" data-rule="required" class="form-control" name="row[finance_status]" type="number" value="1">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
